package com.ybkj.daijia.server.mapper;

import com.ybkj.daijia.server.model.DriverGrade;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DriverGradeMapper {

    public int insert(DriverGrade driverGrade);

    public List<DriverGrade> selectAll(@Param("offset") Integer offset,
        @Param("size") Integer size);

    public long countAll();

    public DriverGrade findById(Long id);

    public int updateById(DriverGrade driverGrade);

    public int deleteById(Long id);

    public List<DriverGrade> selectByName(String name);

}
